package com.kaifamiao.demo.d0716;

public class Demo03 {


    public static void main(String[] args) {
        // + - * /

        // 3 / 2 = 1 ... 1
//        int num = 3 / 2;

        // 模运算（取余） 5 / 2 = 2 ... 1
//        num = 5 % 2;

        int num = 5;
        // num = num - 5;
        num %= 5;

        System.out.println(num);

        // byte short char 运算后 int

        byte b1 = 1;
        short s1 = 2;

        int bb = b1 + b1;

//         b1 = b1 + b1;
        b1 += b1;

        System.out.println(b1);



    }
}
